-- GENERATED SPELL FOR [Spectral Charger] --


function spell0_15547(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(29320,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15547', 1289, 1)
end

function Sorts_15547(pUnit, Event)
local choix_sorts_15547 = math.random(0, 0)
if choix_sorts_15547 == 0 then
pUnit:RegisterEvent('spell0_15547', 1, 1)
end
end

function mob15547_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15547', math.random(1500, 3000), 1)
end

function mob15547_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15547_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15547_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15547, 1, 'mob15547_Action')
RegisterUnitEvent(15547, 2, 'mob15547_Leave')
RegisterUnitEvent(15547, 3, 'mob15547_Kill')
RegisterUnitEvent(15547, 4, 'mob15547_Die')
